export const PRODUCT_INFO_TABLE_COLUMNS = [
  {
    prop: 'saleCode',
    label: '结算单号',
    minWidth: 200,
  },
  {
    prop: 'supplierName',
    label: '供应商',
    minWidth: 150,
  },
  {
    prop: 'pssProdCode',
    label: '产品编码',
    minWidth: 130,
  },
  {
    prop: 'productLineName',
    label: '产品线',
    width: 150,
  },
  {
    prop: 'pssProdName',
    label: '产品名称',
    width: 150,
  },
  {
    prop: 'pssProdSpec',
    label: '规格',
    width: 150,
  },
  {
    prop: 'pssProdModel',
    label: '型号',
    width: 150,
  },
  {
    prop: 'prodSalePriceStr',
    label: '单价(元)',
    width: 150,
  },
  {
    prop: 'pssMinUnit',
    label: '单位',
    width: 100,
  },
  {
    prop: 'nums',
    label: '数量',
    width: 100,
  },
  {
    prop: 'totalProdSalePriceStr',
    label: '含税总金额（元）',
    width: 150,
  },
  // {
  //   prop: 'purcharsePriceStr',
  //   label: '采购单价(元)',
  //   width: 150,
  // },
  // {
  //   prop: 'totalProdTemplatePriceStr',
  //   label: '采购金额(元)',
  //   width: 150,
  // },

  {
    prop: 'productBatch',
    label: '批号',
    width: 150,
  },
  {
    prop: 'productDateStr',
    label: '生产日期',
    width: 130,
  },
  {
    prop: 'expDateStr',
    label: '有效期至',
    width: 130,
  },
  {
    prop: 'barcode',
    label: '条形码',
    width: 100,
  },
  {
    prop: 'serial',
    label: '序列号',
    width: 100,
  },
  {
    prop: 'pssProdManufacturer',
    label: '生产厂家',
    width: 150,
  },
  {
    prop: 'pssRegistNo',
    label: '产品注册证号',
    width: 150,
  },
];

export const TABS_ARR = [
  { lab: '产品信息', val: 1 },
  { lab: '开票信息', val: 2 },
  { lab: '发票信息', val: 3 },
];

export const SERIAL_COLUMNS = [
  { width: '60px', type: 'index', label: '序号', align: 'center' },
  {
    minWidth: '150',
    prop: 'serialNumber',
    label: '序列号',
  },
  {
    minWidth: '150',
    prop: 'num',
    label: '数量',
  },
];
export const BARCODE_COLUMNS = [
  {
    minWidth: '150',
    prop: 'mainBarCode',
    label: '主码',
  },
  {
    minWidth: '150',
    prop: 'subBarCode',
    label: '次码',
  },
];
// 开票信息 应开
export const BILLING_INFO_TABLE_COLUMNS = [
  {
    prop: 'billingApplyCode',
    label: '申请流水号',
    width: 200,
  },
  {
    prop: 'invoiceNumber',
    label: '发票号码',
    width: 150,
  },
  {
    prop: 'settleOrderMainCode',
    label: '结算单号',
    minWidth: 220,
  },
  {
    prop: 'printLineNum',
    label: '发票行号',
    width: 150,
  },
  {
    prop: 'name',
    label: '开票名称',
    width: 150,
  },
  {
    prop: 'applicationCount',
    label: '申请数量',
    width: 150,
  },
  {
    prop: 'itemName',
    label: '产品名称',
    width: 150,
  },
  {
    prop: 'specs',
    label: '规格',
    width: 100,
  },
  {
    prop: 'specs',
    label: '型号',
    width: 100,
  },
  {
    prop: 'unit',
    label: '单位',
    width: 100,
  },

  {
    prop: 'spec',
    label: '开票规格',
    width: 100,
  },
  {
    prop: 'unit',
    label: '开票单位',
    width: 100,
  },
  {
    prop: 'taxRate',
    label: '税率（%）',
    width: 100,
  },
  {
    prop: 'amountExcludingTaxStr',
    label: '不含税总金额',
    width: 150,
  },
  {
    prop: 'amountIncludingTaxStr',
    label: '含税总金额',
    width: 150,
  },
  {
    prop: 'taxAmount',
    label: '税额',
    width: 100,
  },
  {
    prop: 'productBatch',
    label: '批号',
    width: 150,
  },
  {
    prop: 'productDateStr',
    label: '生产日期',
    width: 100,
  },
  {
    prop: 'expDateStr',
    label: '有效期至',
    width: 100,
  },
  {
    prop: 'pssProdManufacturer',
    label: '生产厂家',
    width: 150,
  },
  {
    prop: 'pssRegistNo',
    label: '产品注册证号',
    width: 150,
  },
];

// 发票信息 -应开
export const INVOICE_INFO_TABLE_COLUMNS = [
  {
    type: 'index',
    label: '序号',
    width: 56,
  },
  {
    prop: 'settleOrderMainCode',
    label: '主结算单号',
    minWidth: 220,
  },
  {
    prop: 'billingApplyCode',
    label: '申请流水号',
    width: 220,
  },
  {
    prop: 'invoiceNumber',
    label: '发票号码',
    width: 200,
  },
  {
    prop: 'invoiceType',
    label: '发票类型',
    width: 100,
  },
  {
    prop: 'islist',
    label: '是否带清单',
    width: 100,
  },
  {
    prop: 'applyDateStr',
    label: '申请日期',
    width: 180,
  },
  {
    prop: 'amountExcludingTaxStr',
    label: '不含税金额',
    width: 150,
  },
  {
    prop: 'amountIncludingTaxStr',
    label: '含税金额',
    width: 200,
  },
  {
    prop: 'taxRate',
    label: '税率',
    width: 100,
  },
  {
    prop: 'taxAmount',
    label: '税额',
    width: 100,
  },
];
